package cn.historia.dao;

import cn.historia.domain.po.PayOrder;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @package: cn.historia.dao
 * @className: IOrderDao
 * @author: 云溪
 * @description: 订单数据访问接口
 * @date: 2025/7/5 20:10
 * @version: 1.0
 */
@Mapper
public interface IOrderDao {

    void insert(PayOrder payOrder);

    PayOrder queryUnPayOrder(PayOrder payOrderReq);

    void updateOrderPayInfo(PayOrder payOrder);

    void changeOrderPaySuccess(PayOrder payOrder);

    boolean changeOrderClose(String orderId);

    List<String> queryTimeoutCloseOrderList();

    List<String> queryNoPayNotifyOrder();

}
